#include "xndchip_serial.h"
#include <QApplication>
#include <QScreen>

int main(int argc, char *argv[])
{
    QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);        /* 解决不同显示器下UI显示问题 */
    QApplication a(argc, argv);
    XNDchip_Serial w;

    w.show();
    /* 启用高DPI缩放 */
//    QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
//    QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
    return a.exec();
}
